package com.entity;

import java.io.Serializable;

/**
 * Created by asus on 2017-02-09.
 */
public class Dto implements Serializable{
    private int goodsId;
    private int photoId;
    private String photoUrl;
    private String goodsName;
    private String goodsInfo;
    private int disCount;
    private double price;
    private int goodsSize;
    public int getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(int goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsInfo() {
        return goodsInfo;
    }

    public void setGoodsInfo(String goodsInfo) {
        this.goodsInfo = goodsInfo;
    }

    public int getDisCount() {
        return disCount;
    }

    public void setDisCount(int disCount) {
        this.disCount = disCount;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getGoodsSize() {
        return goodsSize;
    }

    public void setGoodsSize(int goodsSize) {
        this.goodsSize = goodsSize;
    }

    public int getPhotoId() {
        return photoId;
    }

    public void setPhotoId(int photoId) {
        this.photoId = photoId;
    }

    public String getPhotoUrl() {
        return photoUrl;
    }

    public void setPhotoUrl(String photoUrl) {
        this.photoUrl = photoUrl;
    }



    @Override
    public String toString() {
        return "Dto{" +
                "goodsId=" + goodsId +
                ", photoId=" + photoId +
                ", photoUrl='" + photoUrl + '\'' +
                ", goodsName='" + goodsName + '\'' +
                ", goodsInfo='" + goodsInfo + '\'' +
                ", disCount=" + disCount +
                ", price=" + price +
                ", goodsSize=" + goodsSize +
                '}';
    }
}
